<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" data-area='["80%","80%"]' class="btn btn-success btn-add {:$auth->check('integral/taskbook/add') ?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                <!--         <a href="javascript:;" data-area='["60%","80%"]' class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('integral/taskbook/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('integral/taskbook/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a> -->
                         <a href="javascript:;" class="btn btn-success btn-check btn-disabled disabled  {:$auth->check('tasks/task/check')?'':'hide'}" title="{:__('Check')}" ><i class="fa fa-paper-plane"></i> {:__('Check')}</a>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('integral/taskbook/edit')}" 
                           data-operate-del="{:$auth->check('integral/taskbook/delete')}" 
                           data-operate-check="{:$auth->check('tasks/task/check')}" 
                           data-operate-review1="{:$auth->check('tasks/task/review_1')}" 
                           data-operate-review2="{:$auth->check('tasks/task/review_2')}" 
                           data-operate-review3="{:$auth->check('tasks/task/review_3')}" 
                           data-operate-review4="{:$auth->check('tasks/task/review_4')}" 
                           data-operate-review5="{:$auth->check('tasks/task/review_5')}" 
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>

<script>
    var week_ids = '{$ids}';
    var task_ids = '{$task_id}';
</script>
<script id="customformtpl" type="text/html">
    <!--form表单必须添加form-commsearch这个类-->
    <form action="" class="form-horizontal form-commonsearch nice-validator n-default n-bootstrap">
        <fieldset>
             
               <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                <label for="department" class="control-label col-xs-4">{:__('Task.Status')}</label>
                <div class="col-xs-8">
                 <input type="hidden" class="form-control operate" name="status-operate" data-name="status" value="=" readonly="" />
                 <select class="form-control" name="status">
                     <option value="">选择</option>
                     {foreach name="statusList" item="vo"}
                            <option value="{$key}"  <?php if("'".request()->get("status")."'" == "'".$key."'"){ echo 'selected';} ?> >{$vo}</option>
                      {/foreach}
                 </select>
                </div>
               </div>      
              
               <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                <div class="col-sm-8 col-xs-offset-4">
                 <button type="submit" class="btn btn-success" formnovalidate="">提交</button> 
                 <button type="reset" class="btn btn-default">重置</button> 
                </div>
               </div>
              </div>
        </fieldset>
    </form>
</script>